package data;

/**
 *
 * @author groep 11
 * @date 2007-2008
 */
public class Tribe {
    private int tribeId;
    private String name;
    private String description;
    private int chieftainId; // refers to a user

    
    /**
     * Constructor with all parameters.
     * @param tribeId
     * @param name
     * @param description
     * @param chieftainId
     */    
    public Tribe(int tribeId, String name, String description, int chieftainId) {
        this.setTribeId(tribeId);
        this.setName(name);
        this.setDescription(description);
        this.setChieftainId(chieftainId);
    }
    
    /**
     * Constructor with all parameters but tribeId
     * Dit id wordt default op 0 ingesteld.
     * @param name
     * @param description
     * @param chieftainId
     */    
    public Tribe(String name, String description, int chieftainId) {
        this(0, name, description, chieftainId);
    }
    
    
    public int getTribeId() {
        return tribeId;
    }

    public void setTribeId(int tribeId) {
        this.tribeId = tribeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getChieftainId() {
        return chieftainId;
    }

    public void setChieftainId(int chieftainId) {
        this.chieftainId = chieftainId;
    }
    
   


}
